package com.thread.test03;

import java.util.Random;

/**
 * @author bin
 * @date 2025 - 03 -07
 **/
public class Green extends Thread{

    @Override
    public void run() {
        System.out.println("绿色线程开始执行");
        // ..
    }
    public String ran(){
        Random random = new Random();
        System.out.println("绿色输出"+random.nextInt(256));
        return random.nextInt(256)+"";
    }
}
